package itcz.example.pattern.create_action.builder.demo2;

/**
 * @ClassName: Client
 * @Author: ITCZ
 * @Date: 2025-04-21
 * @Description: 建造者扩展的链式编程
 */
public class Client {
    public static void main(String[] args) {
        Phone phone = new Phone.Builder().cpu("i7").screen("6.5").memory("256G")
                .mainboard("华硕")
                .build();
        System.out.println(phone);
    }
}
